Skip to content

[SEMA] Don't emit an error for sizeof an enum.#7449

Merged
s-perron merged 2 commits intomicrosoft:mainfrom
s-perron:i7416
May 16, 2025
Merged

[SEMA] Don't emit an error for sizeof an enum.#7449
s-perron merged 2 commits intomicrosoft:mainfrom
s-perron:i7416

Conversation

@s-perron
Copy link
Copy Markdown
Collaborator

Fixes #7416

Copy link
Copy Markdown
Collaborator

@llvm-beanz llvm-beanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I wonder if this also fixes #3860 or #5095.

@s-perron s-perron merged commit 7054e52 into microsoft:main May 16, 2025
12 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap May 16, 2025
@llvm-beanz
Copy link
Copy Markdown
Collaborator

Woo! Thank you @s-perron! Looks like this fixed both of the linked issues 😁

@s-perron s-perron deleted the i7416 branch May 28, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[SPIR-V] sizeof() error when structcontains enum or enum class

3 participants